package com.zlzkj.app.mapper;

import com.zlzkj.app.model.Energymac;
import com.zlzkj.core.sql.Row;

import java.util.List;
import java.util.Map;

public interface EnergymacMapper {
	int deleteByPrimaryKey(String id);

    int insert(Energymac record);

    Energymac selectByPrimaryKey(String id);

    List<Energymac> selectAll();

    int updateByPrimaryKey(Energymac record);

	List<Row> selectByMap(Map<String, Object> map);
	
    int countByMap(Map<String,Object> map);

    int deleteByMap(Map<String,Object> map);
    
    // List<Energymac> excel(Map<String, Object> map);
}
